﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" CodeBehind="Details.aspx.cs" Inherits="sistemaAcademicoFinanceiroEscolas.aulasDetails.Details" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true" />
    
    <div class="tamanho">

    <h2>Dados da aula</h2>

    <asp:ScriptManagerProxy runat="server" ID="ScriptManagerProxy1" />

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
                HeaderText="Lista de validação de erros" />
            <asp:DynamicValidator runat="server" ID="DetailsViewValidator" ControlToValidate="DetailsView1" Display="None" />




            <asp:DetailsView ID="DetailsView1" runat="server" DataSourceID="DetailsDataSource" OnItemDeleted="DetailsView1_ItemDeleted"
                CssClass="detailstable" FieldHeaderStyle-CssClass="bold" DefaultMode="ReadOnly" AutoGenerateRows="False">
                
              
                
                <Fields>
                
                
                    <asp:DynamicField DataField="professor" HeaderText="Professor " />
                    <asp:DynamicField DataField="aluno" HeaderText="Aluno " />
                    <asp:DynamicField DataField="grupo" HeaderText="Grupo " />                   
                    <asp:DynamicField DataField="dataAula" HeaderText="Data" />
                    <asp:DynamicField DataField="horaInicialAula" HeaderText="Hora Inicial " />
                    <asp:DynamicField DataField="horaFinalAula" HeaderText="Hora Final " />
                    <asp:DynamicField DataField="disciplina" HeaderText="Disciplina " />
                    <asp:DynamicField DataField="descricaoAssuntoAula" HeaderText="Descrição " />
                    <asp:DynamicField DataField="observacoesAula" HeaderText="Observações " />
                    <asp:DynamicField DataField="valorHora" HeaderText="Valor/Hora " />
                    <asp:DynamicField DataField="valorTotalSemDesconto" HeaderText="Valor sem desconto " />
                    <asp:DynamicField DataField="valorTotalComDesconto" HeaderText="Valor com desconto " />
                    <asp:DynamicField DataField="aulaRealizada" HeaderText="Aula Realizada " />
                    <%--<asp:DynamicField DataField="aulasNaoRealizadas" HeaderText="Aulas Não Realizadas " />--%>
                    
                     
                    
                    
                   



                </Fields>
            </asp:DetailsView>

            <asp:LinqDataSource ID="DetailsDataSource" runat="server" EnableDelete="true">
                <WhereParameters>
                    <asp:DynamicQueryStringParameter />
                </WhereParameters>
            </asp:LinqDataSource>

            <br />

            <div class="bottomhyperlink">
                <asp:HyperLink ID="ListHyperLink" runat="server">Voltar a lista</asp:HyperLink>
            </div>
            

            
                    
        </ContentTemplate>
    </asp:UpdatePanel>
    
    </div>
    
</asp:Content>
